<template>
	<div style="padding-top:50px;">
		<TopWithBack></TopWithBack>
    <ul class="goods_typpe_list">
        <li>
            <p>总推广人数：<span class="goods_type_active">{{count}}</span></p>
        </li>
        <!--   <img src="images/down.png" style="display: inline;width: 15%!important;margin-left: 5px;" class="down"> -->
        <li>
            <p>消费金额：<span class="goods_type_active">￥{{total}}</span></p>
        </li>
    </ul>
    <div class="index_divide"></div>
    <div class="customer_lists_box">
        <div class="customer_lists" v-for="item of list" v-if="count>0">
            <div class="customer_lists_l">
                <div class="customer_lists_l_r">
                    <p>推广会员：BOBO</p>
                    <span>注册时间：2018/5/16</span>
                </div>
            </div>
            <div class="customer_lists_r">消费金额:<span class="goods_type_active">￥135151</span></div>
        </div>
        <div class="customer_lists" v-if="count==0">
          <p>暂无推广数据</p>
        </div>
       <!--  <div class="customer_lists">
            <div class="customer_lists_l">
                <div class="customer_lists_l_r">
                    <p>推广会员：BOBO</p>
                    <span>注册时间：2018/5/16</span>
                </div>
            </div>
            <div class="customer_lists_r">消费金额:<span class="goods_type_active">￥135151</span></div>
        </div> -->
    </div>
  </div>
</template>
<script>
import TopWithBack  from './../common/TopWithBack.vue'
import { myTeam } from '@/api/allapis'
export default{
  name: 'Team',
  data(){
    return{
      list:'',
      count:'',
      param:{
        page:'1',
        rows:'10'
      }//传给后台的数据
    }
  },
  methods:{
    loaddata(param){
      myTeam().then(response=>{

      })
    },
  },
  created(){
    this.loaddata()
  },
  components:{
  	TopWithBack,
  }
}
</script>
<style>

</style>



